package system

import "syscall"

func KillProcess(pid int) error {
	// not os.FindProcess(), Unix?
	if err := syscall.Kill(pid, 0); err != nil {
		return err
	}
	return nil
}
